public class Rect extends Shape{
    public int wide;

    public Rect(int side, int wide) {
        super(side);
        this.wide = wide;
    }
    @Override
    public double area() {
    int area = side*wide;
    return area;
    }
    @Override
    public double length() {
    int length = (side+wide)*2;
    return length;
    }
}
